ComponentOne ASP.NET MVC Controls
DataTypes Method

C1.Web.Mvc.Fluent Namespace > BaseODataCollectionViewServiceBuilder<T,TControl,TBuilder> Class : DataTypes Method
The value.
Configurates C1.Web.Mvc.BaseODataCollectionViewService<T>.DataTypes. Sets an object to be used as a map for coercing data types when loading the data.
Syntax
'Declaration
 
Public Function DataTypes( _
   ByVal value As IDictionary(Of String,DataType) _
) As TBuilder

Parameters

value
The value.

Return Value

Current builder.
Remarks
The object keys represent the field names and the values are C1.Web.Mvc.Grid.DataType values that indicate how the data should be coerced.
See Also

Reference

BaseODataCollectionViewServiceBuilder<T,TControl,TBuilder> Class
BaseODataCollectionViewServiceBuilder<T,TControl,TBuilder> Members